package com.tlgen.modules.common.repository;

import com.tlgen.modules.common.domain.Rate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface RateRepository extends JpaRepository<Rate, Long>, JpaSpecificationExecutor<Rate> {

    /**
     *根据手术报销比例查询
     * @param hospital
     * @return
     */
    Rate findByHospital(String hospital);

}
